<html>
<body>
Reports if a trivial lambda expression is used in cases in which there's an alternative method that behaves in the same way, but accepts a concrete value
instead of a lambda.
<p>This inspection helps simplify the code.</p>
<p>Example:</p>
<pre><code>
  Optional.orElseGet(() -> null)
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
  Optional.orElse(null)
</code></pre>
<!-- tooltip end -->
<p><small>New in 2017.1</small></p>
</body>
</html>